package com.medical.data.vo;


import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class UpdatePasswordVo {



    @NotBlank(message = "旧密码不可为空")
    @ApiModelProperty(value = "旧密码")
    private String oldPassword;


    @NotBlank(message = "新密码不可为空")
    @ApiModelProperty(value = "新密码")
    private String newPassword;

    @NotBlank(message = "再次输入新密码密码不可为空")
    @ApiModelProperty(value = "再次输入新密码密码")
    private String newEnterPassword;

}
